#ifndef PLAYER_H
#define PLAYER_H
#include <allegro.h>
#include "Animation.h"
#define ANIMATION_RUNNING 0
#define ANIMATION_STANDING 1
#define ANIMATION_JUMPING 2
class Player
{
    public:
        Animation anims[3];
        Animation *currentAnimation;
        BITMAP *sprite;
        float X, Y, velY, velX;
        float speed;
        //
        Player();
        void Initialize();
        void update();
        void startJump();
        void updateJump();
        bool flipped;
        bool isJumping;
        bool inAir;
    private:
        void initAnimations();
};

#endif // PLAYER_H
